package com.hl.sfzy.service.course;

import com.hl.sfzy.entity.course.Courseproblem;
import com.hl.sfzy.mapper.course.CourseproblemMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: sfzy
 * @description:
 * @author: xiaoyan
 * @create: 2024-09-10 19:28
 **/

@Service
public class CourseProblemService {

    @Autowired
    private CourseproblemMapper courseproblemMapper;

    public List selectCourseById(Long id){
        return courseproblemMapper.getCourseQuestions(id);
    }

}
